<!DOCTYPE html>

<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, inital-scale=1.0">
    <title>手写html5头部</title>
    <style>
        .div1, .div2 {
            width: 800px;
            height: 800px;
        }
    </style>
</head>

<body>
    <div class="div1" id="div1"></div>
    <div class="div2" id="div2"></div>
</body>

</html>